import { ElMessage } from "element-plus";
export default function (options) {
  console.log(options,'op')
  ElMessage.closeAll();
  let type = options.type || "success";
  let message = options.msg || "操作成功";
  ElMessage({
    type,
    message,
  });
}
